package com.quasar.hpatient.module.mine_information;

import android.view.View;

import com.quasar.hpatient.R;

import lib.quasar.base.frame.BaseActivity;
import lib.quasar.widget.text.SideTextView;

/**
 * description: 个人资料
 * created by kalu on 2018/4/10 15:27
 */
public class InformationActivity extends BaseActivity<InformationPresenter> implements InformationView, View.OnClickListener {

    @Override
    public int initView() {
        return R.layout.activity_mine_information;
    }

    @Override
    public void initDataLocal() {

        InformationPresenter presenter = getPresenter();
        if (null == presenter) return;
        presenter.setPatientData(this);
    }

    @Override
    public void initDataNet() {
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
        }
    }

    @Override
    public void setTextRight(int id, String str) {
        SideTextView text = findViewById(id);
        if (null == text) return;
        text.setTextRight(str);
    }
}